﻿.tabularData 
{
    clear: both;
    float: none;
    display: block;
    /* width: 100%; */
}

.tabularData p { margin:0; padding:0; }

.tabularData table 
{
    border: 1px solid #999;
    /* width: 100%; */
}

.tabularData table th, .tabularData table th input, .tabularData table tfoot input { font-weight: bold; }
.tabularData th { width:auto !important; }
.tabularData th, .tabularData tfoot td { background-color: #e5e5e5; }
.tabularData thead th { background-color: #fea; }
.tabularData input { background-color: #fff; border: 1px solid #ABADB3; }
.tabularData table tbody th, .tabularData table tfoot th, .tabularData thead th.headerCol { border-right: 2px solid #999; }
.tabularData table thead th, .tabularData table thead td { border-bottom: 2px solid #999; }
.tabularData table tfoot th, .tabularData table tfoot td { border-top: 2px solid #999; }

.tabularData table input { width: 90px; margin:2px !important; }
.tabularData table thead th.headerCol input, .tabularData table tbody th input, .tabularData table tfoot th input { width: 140px; }

.tabularData .current { background-color: #fc0 !important; }


.tabularDataFunctions 
{
    padding-bottom: 12px;
    position: relative;
}

.tabularDataFunctions .resizer { background-color: #fff; padding: 3px; z-index: 99999; position: absolute; top: 22px; background-color: #fff; }
.tabularDataFunctions .resizer table { /* border-collapse: collapse; */ margin:0; padding:0; border:0; }
.tableSizeHidden .resizer { display: none; }
.tabularDataFunctions .showResizer { background: url(<%=WebResource("MT.Flag.Umbraco.DataTypes.TabularData.images.icons.png")%>) 3px -207px no-repeat; width: 22px; height: 22px; overflow: hidden; display: block; float: left; margin-right: 6px; }
.tableSizeHidden .showResizer { background: url(<%=WebResource("MT.Flag.Umbraco.DataTypes.TabularData.images.icons.png")%>) 3px -177px no-repeat; width: 22px; height: 22px; overflow: hidden; display: block; float: left; margin-right: 6px; }
.tabularDataFunctions .resizer table td { /* border-collapse: collapse; */ border:0; padding:0; margin:0; overflow: hidden; padding-right: 1px; padding-bottom: 1px; }
.tabularDataFunctions .resizer table td a { border: 1px solid #ccc; width:8px; height: 8px; display: block; margin:0; padding:0; background-color: #f0f0f0; }

.tabularDataFunctions .resizer table tr td.tableSize a { border-color: #999; background-color:#ccc; }
.tabularDataFunctions .resizer table tr td a.tableResizeTo { /* border-color: red; */ background-color: #fc0; cursor: pointer; }
.tabularDataFunctions .resizer table tr td.tableSize a.tableResizeTo { background-color: #eb0; }
.tabularDataFunctions .resizer span.newSize { color: #999; }


/* Generic context menu styles */
.contextMenu {
	position: absolute;
	width: 170px;
	z-index: 99999;
	border: solid 1px #CCC;
	background: #f0f0f0;
	padding: 0px;
	margin: 0px;
	display: none;
	font-size: 0.92em;
}

.contextMenu li {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

.contextMenu a {
	color: #333;
	text-decoration: none;
	display: block;
	line-height: 20px;
	height: 20px;
	background-position: 6px center;
	background-repeat: no-repeat;
	outline: none;
	padding: 1px 5px;
	padding-left: 28px;
}

.contextMenu li.hover a {
	color: #000;
	background-color: #CCC;
}

.contextMenu li.disabled a {
	color: #AAA;
	cursor: default;
}

.contextMenu li.hover.disabled a {
	background-color: transparent;
}

.contextMenu li.separator {
	border-top: solid 1px #CCC;
}

/*
	Adding Icons
	
	You can add icons to the context menu by adding
	classes to the respective LI element(s)
*/

.contextMenu li a { background-image: url(<%=WebResource("MT.Flag.Umbraco.DataTypes.TabularData.images.icons.png")%>) !important; background-repeat: no-repeat; background-position: 0 0; }

.contextMenu li.rowInsertAbove a { background-position: 5px -27px; }
.contextMenu li.rowInsertBelow a { background-position: 5px 3px; }
.contextMenu li.rowDelete a { background-position: 5px -57px; }
.contextMenu li.colInsertLeft a { background-position: 5px -87px; }
.contextMenu li.colInsertRight a { background-position: 5px -117px; }
.contextMenu li.colDelete a { background-position: 5px -147px; }
.contextMenu li.colWidth a { background-position: 5px -237px; }




#popup_container {
	font-family: Arial, sans-serif;
	font-size: 12px;
	min-width: 300px; /* Dialog will be no smaller than this */
	max-width: 600px; /* Dialog will wrap after this width */
	background: #FFF;
	border: solid 5px #999;
	color: #000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#popup_title {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	line-height: 1.75em;
	color: #666;
	background: #CCC url(<%=WebResource("MT.Flag.Umbraco.DataTypes.TabularData.images.title.gif")%>) top repeat-x;
	border: solid 1px #FFF;
	border-bottom: solid 1px #999;
	cursor: default;
	padding: 0em;
	margin: 0em;
}

#popup_content {
	background: 16px 16px no-repeat url(<%=WebResource("MT.Flag.Umbraco.DataTypes.TabularData.images.info.png")%>);
	padding: 1em 1.75em;
	margin: 0em;
}

#popup_content.alert {
	background-image: url(<%=WebResource("MT.Flag.Umbraco.DataTypes.TabularData.images.info.png")%>);
}

#popup_content.confirm {
	background-image: url(<%=WebResource("MT.Flag.Umbraco.DataTypes.TabularData.images.warning.png")%>);
}

#popup_content.prompt {
	background-image: url(<%=WebResource("MT.Flag.Umbraco.DataTypes.TabularData.images.help.png")%>);
}

#popup_message {
	padding-left: 48px;
}

#popup_panel {
	text-align: center;
	margin: 1em 0em 0em 1em;
}

#popup_prompt {
	margin: .5em 0em;
}